feat(kiro): add Kiro CLI session support#415
Closed
leonardo-claudio wants to merge 1 commit into
Closed
Conversation
- Scan ~/.kiro/sessions/cli/*.jsonl for CLI sessions - Parse JSONL format (Prompt, AssistantMessage, ToolResults entries) - Detect MCP tools via ~/.kiro/settings/mcp.json - Resolve project name from session cwd - 6 new tests for CLI parsing, MCP detection, dedup, project naming - Updated docs/providers/kiro.md
Member
|
Thanks for putting this together, and sorry for the slow turnaround. Timing worked against this one: while it was open, Kiro CLI support landed on main through #502, reading the same ~/.kiro/sessions/cli files. The version on main takes a different approach in a few places we need to keep:
Because of that overlap the branch now conflicts with main, and merging it would regress cost accuracy, so I am closing it as superseded. One piece of yours is still worth landing: the extra tool-name mappings (code, subagent, and the fuller builtin set). If you want to send a small follow-up adding those to the current CLI parser, I would be glad to merge it. Appreciate the work here and hope to see more from you. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the existing Kiro provider to read sessions from Kiro CLI (
~/.kiro/sessions/cli/), in addition to the existing Kiro IDE support.Changes
~/.kiro/sessions/cli/*.jsonlfor CLI sessionsPrompt,AssistantMessage,ToolResultsentries)mcp__<server>__<tool>(server name read from~/.kiro/settings/mcp.json)cwdfrom session metadatadocs/providers/kiro.mdHow Kiro CLI stores data
Testing